﻿
namespace Tree
{
    class SubNode : BiNode
    {
        public SubNode(Node Left, Node Right)
            : base(Left, Right)
        {
        }
        //public override double Calc()
        //{
        //    return _pLeft.Calc() + _pLeft.Calc();
        //}
        public override double Result
        {
            get
            {
                return _pLeft.Result - _pRight.Result;
            }
        }
    }
}